#ifndef PLAYERENTITY_H
#define PLAYERENTITY_H

#include "LivingEntity.h"
#include "HUD.h"

class ItemEntity;

class PlayerEntity : public LivingEntity
{
    public:
        PlayerEntity();
        void setHUD(HUD*);
        virtual int timeInvulnerable();
        virtual void takeHit(int, Entity*);
        virtual void heal(int);
        virtual int getMaxHP();
        virtual void pickup(ItemEntity*);
        Entity* clone();

        virtual LivingEntity* setMaxHP(int);
    protected:
        HUD* hud;
        int maxHp;

};

#endif // PLAYERENTITY_H
